package com.itheima.service;

import com.itheima.domain.Book;

import java.util.List;

public interface BookService {
    Book findBookById(Integer id);

    boolean addBook(Book book);


    List<Book> findAllBook();

    boolean changeBook(Book book);

    boolean deleteBook(Integer id);

    List<Book> findBookByNameAndAuthorAndPrice(String bookName, String author, String minPrice, String maxPrice);
}

